<%@ page contentType="text/html; charset=UTF-8"%>
<%@include file="/html/portlet/chart/admin/init.jsp"%>
<%
	Option option = null;
	long optionId = ParamUtil.getLong(request, "optionId");
	if (optionId > 0) {
		option = OptionLocalServiceUtil.getOption(optionId);
	}
%>
<liferay-portlet:renderURL var="manageTemplateUrl" plid="<%=themeDisplay.getPlid() %>" portletName="chart-template_WAR_echartsportlet" windowState="pop_up">
</liferay-portlet:renderURL>

<aui:fieldset>
	<aui:model-context bean="<%=option%>" model="<%=Option.class%>" />
	<aui:input name="name" required="true" autoFocus="true"/>
	<aui:input name="description" type="textarea"/>
	
</aui:fieldset>
<!-- <div class="separator"></div> -->
<liferay-util:include page="/html/portlet/chart/admin/option/chart.baseconfig.chosetemplate.jsp" servletContext="<%= application %>"></liferay-util:include>
<%-- <liferay-util:include page="/html/portlet/chart/admin/option/chart.baseconfig.param.jsp" servletContext="<%= application %>"></liferay-util:include> --%>
<!-- <div class="separator"></div> -->
<liferay-ui:input-permissions
    modelName="<%= Option.class.getName() %>"
/>
